package com.crm.model.entity.exchange;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class HighClassChangeCourseExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public HighClassChangeCourseExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andHighClassCourseIdIsNull() {
            addCriterion("high_class_course_id is null");
            return (Criteria) this;
        }

        public Criteria andHighClassCourseIdIsNotNull() {
            addCriterion("high_class_course_id is not null");
            return (Criteria) this;
        }

        public Criteria andHighClassCourseIdEqualTo(String value) {
            addCriterion("high_class_course_id =", value, "highClassCourseId");
            return (Criteria) this;
        }

        public Criteria andHighClassCourseIdNotEqualTo(String value) {
            addCriterion("high_class_course_id <>", value, "highClassCourseId");
            return (Criteria) this;
        }

        public Criteria andHighClassCourseIdGreaterThan(String value) {
            addCriterion("high_class_course_id >", value, "highClassCourseId");
            return (Criteria) this;
        }

        public Criteria andHighClassCourseIdGreaterThanOrEqualTo(String value) {
            addCriterion("high_class_course_id >=", value, "highClassCourseId");
            return (Criteria) this;
        }

        public Criteria andHighClassCourseIdLessThan(String value) {
            addCriterion("high_class_course_id <", value, "highClassCourseId");
            return (Criteria) this;
        }

        public Criteria andHighClassCourseIdLessThanOrEqualTo(String value) {
            addCriterion("high_class_course_id <=", value, "highClassCourseId");
            return (Criteria) this;
        }

        public Criteria andHighClassCourseIdLike(String value) {
            addCriterion("high_class_course_id like", value, "highClassCourseId");
            return (Criteria) this;
        }

        public Criteria andHighClassCourseIdNotLike(String value) {
            addCriterion("high_class_course_id not like", value, "highClassCourseId");
            return (Criteria) this;
        }

        public Criteria andHighClassCourseIdIn(List<String> values) {
            addCriterion("high_class_course_id in", values, "highClassCourseId");
            return (Criteria) this;
        }

        public Criteria andHighClassCourseIdNotIn(List<String> values) {
            addCriterion("high_class_course_id not in", values, "highClassCourseId");
            return (Criteria) this;
        }

        public Criteria andHighClassCourseIdBetween(String value1, String value2) {
            addCriterion("high_class_course_id between", value1, value2, "highClassCourseId");
            return (Criteria) this;
        }

        public Criteria andHighClassCourseIdNotBetween(String value1, String value2) {
            addCriterion("high_class_course_id not between", value1, value2, "highClassCourseId");
            return (Criteria) this;
        }

        public Criteria andRuleNumberIsNull() {
            addCriterion("rule_number is null");
            return (Criteria) this;
        }

        public Criteria andRuleNumberIsNotNull() {
            addCriterion("rule_number is not null");
            return (Criteria) this;
        }

        public Criteria andRuleNumberEqualTo(String value) {
            addCriterion("rule_number =", value, "ruleNumber");
            return (Criteria) this;
        }

        public Criteria andRuleNumberNotEqualTo(String value) {
            addCriterion("rule_number <>", value, "ruleNumber");
            return (Criteria) this;
        }

        public Criteria andRuleNumberGreaterThan(String value) {
            addCriterion("rule_number >", value, "ruleNumber");
            return (Criteria) this;
        }

        public Criteria andRuleNumberGreaterThanOrEqualTo(String value) {
            addCriterion("rule_number >=", value, "ruleNumber");
            return (Criteria) this;
        }

        public Criteria andRuleNumberLessThan(String value) {
            addCriterion("rule_number <", value, "ruleNumber");
            return (Criteria) this;
        }

        public Criteria andRuleNumberLessThanOrEqualTo(String value) {
            addCriterion("rule_number <=", value, "ruleNumber");
            return (Criteria) this;
        }

        public Criteria andRuleNumberLike(String value) {
            addCriterion("rule_number like", value, "ruleNumber");
            return (Criteria) this;
        }

        public Criteria andRuleNumberNotLike(String value) {
            addCriterion("rule_number not like", value, "ruleNumber");
            return (Criteria) this;
        }

        public Criteria andRuleNumberIn(List<String> values) {
            addCriterion("rule_number in", values, "ruleNumber");
            return (Criteria) this;
        }

        public Criteria andRuleNumberNotIn(List<String> values) {
            addCriterion("rule_number not in", values, "ruleNumber");
            return (Criteria) this;
        }

        public Criteria andRuleNumberBetween(String value1, String value2) {
            addCriterion("rule_number between", value1, value2, "ruleNumber");
            return (Criteria) this;
        }

        public Criteria andRuleNumberNotBetween(String value1, String value2) {
            addCriterion("rule_number not between", value1, value2, "ruleNumber");
            return (Criteria) this;
        }

        public Criteria andProductNameIsNull() {
            addCriterion("product_name is null");
            return (Criteria) this;
        }

        public Criteria andProductNameIsNotNull() {
            addCriterion("product_name is not null");
            return (Criteria) this;
        }

        public Criteria andProductNameEqualTo(String value) {
            addCriterion("product_name =", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameNotEqualTo(String value) {
            addCriterion("product_name <>", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameGreaterThan(String value) {
            addCriterion("product_name >", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameGreaterThanOrEqualTo(String value) {
            addCriterion("product_name >=", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameLessThan(String value) {
            addCriterion("product_name <", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameLessThanOrEqualTo(String value) {
            addCriterion("product_name <=", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameLike(String value) {
            addCriterion("product_name like", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameNotLike(String value) {
            addCriterion("product_name not like", value, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameIn(List<String> values) {
            addCriterion("product_name in", values, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameNotIn(List<String> values) {
            addCriterion("product_name not in", values, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameBetween(String value1, String value2) {
            addCriterion("product_name between", value1, value2, "productName");
            return (Criteria) this;
        }

        public Criteria andProductNameNotBetween(String value1, String value2) {
            addCriterion("product_name not between", value1, value2, "productName");
            return (Criteria) this;
        }

        public Criteria andProductCodeIsNull() {
            addCriterion("product_code is null");
            return (Criteria) this;
        }

        public Criteria andProductCodeIsNotNull() {
            addCriterion("product_code is not null");
            return (Criteria) this;
        }

        public Criteria andProductCodeEqualTo(String value) {
            addCriterion("product_code =", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeNotEqualTo(String value) {
            addCriterion("product_code <>", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeGreaterThan(String value) {
            addCriterion("product_code >", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeGreaterThanOrEqualTo(String value) {
            addCriterion("product_code >=", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeLessThan(String value) {
            addCriterion("product_code <", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeLessThanOrEqualTo(String value) {
            addCriterion("product_code <=", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeLike(String value) {
            addCriterion("product_code like", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeNotLike(String value) {
            addCriterion("product_code not like", value, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeIn(List<String> values) {
            addCriterion("product_code in", values, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeNotIn(List<String> values) {
            addCriterion("product_code not in", values, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeBetween(String value1, String value2) {
            addCriterion("product_code between", value1, value2, "productCode");
            return (Criteria) this;
        }

        public Criteria andProductCodeNotBetween(String value1, String value2) {
            addCriterion("product_code not between", value1, value2, "productCode");
            return (Criteria) this;
        }

        public Criteria andCreateTmIsNull() {
            addCriterion("create_tm is null");
            return (Criteria) this;
        }

        public Criteria andCreateTmIsNotNull() {
            addCriterion("create_tm is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTmEqualTo(Date value) {
            addCriterion("create_tm =", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotEqualTo(Date value) {
            addCriterion("create_tm <>", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmGreaterThan(Date value) {
            addCriterion("create_tm >", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmGreaterThanOrEqualTo(Date value) {
            addCriterion("create_tm >=", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmLessThan(Date value) {
            addCriterion("create_tm <", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmLessThanOrEqualTo(Date value) {
            addCriterion("create_tm <=", value, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmIn(List<Date> values) {
            addCriterion("create_tm in", values, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotIn(List<Date> values) {
            addCriterion("create_tm not in", values, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmBetween(Date value1, Date value2) {
            addCriterion("create_tm between", value1, value2, "createTm");
            return (Criteria) this;
        }

        public Criteria andCreateTmNotBetween(Date value1, Date value2) {
            addCriterion("create_tm not between", value1, value2, "createTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIsNull() {
            addCriterion("update_tm is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIsNotNull() {
            addCriterion("update_tm is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTmEqualTo(Date value) {
            addCriterion("update_tm =", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotEqualTo(Date value) {
            addCriterion("update_tm <>", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmGreaterThan(Date value) {
            addCriterion("update_tm >", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmGreaterThanOrEqualTo(Date value) {
            addCriterion("update_tm >=", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmLessThan(Date value) {
            addCriterion("update_tm <", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmLessThanOrEqualTo(Date value) {
            addCriterion("update_tm <=", value, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmIn(List<Date> values) {
            addCriterion("update_tm in", values, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotIn(List<Date> values) {
            addCriterion("update_tm not in", values, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmBetween(Date value1, Date value2) {
            addCriterion("update_tm between", value1, value2, "updateTm");
            return (Criteria) this;
        }

        public Criteria andUpdateTmNotBetween(Date value1, Date value2) {
            addCriterion("update_tm not between", value1, value2, "updateTm");
            return (Criteria) this;
        }

        public Criteria andEnableDisableIsNull() {
            addCriterion("enable_disable is null");
            return (Criteria) this;
        }

        public Criteria andEnableDisableIsNotNull() {
            addCriterion("enable_disable is not null");
            return (Criteria) this;
        }

        public Criteria andEnableDisableEqualTo(Integer value) {
            addCriterion("enable_disable =", value, "enableDisable");
            return (Criteria) this;
        }

        public Criteria andEnableDisableNotEqualTo(Integer value) {
            addCriterion("enable_disable <>", value, "enableDisable");
            return (Criteria) this;
        }

        public Criteria andEnableDisableGreaterThan(Integer value) {
            addCriterion("enable_disable >", value, "enableDisable");
            return (Criteria) this;
        }

        public Criteria andEnableDisableGreaterThanOrEqualTo(Integer value) {
            addCriterion("enable_disable >=", value, "enableDisable");
            return (Criteria) this;
        }

        public Criteria andEnableDisableLessThan(Integer value) {
            addCriterion("enable_disable <", value, "enableDisable");
            return (Criteria) this;
        }

        public Criteria andEnableDisableLessThanOrEqualTo(Integer value) {
            addCriterion("enable_disable <=", value, "enableDisable");
            return (Criteria) this;
        }

        public Criteria andEnableDisableIn(List<Integer> values) {
            addCriterion("enable_disable in", values, "enableDisable");
            return (Criteria) this;
        }

        public Criteria andEnableDisableNotIn(List<Integer> values) {
            addCriterion("enable_disable not in", values, "enableDisable");
            return (Criteria) this;
        }

        public Criteria andEnableDisableBetween(Integer value1, Integer value2) {
            addCriterion("enable_disable between", value1, value2, "enableDisable");
            return (Criteria) this;
        }

        public Criteria andEnableDisableNotBetween(Integer value1, Integer value2) {
            addCriterion("enable_disable not between", value1, value2, "enableDisable");
            return (Criteria) this;
        }

        public Criteria andChangeCourseTitleIsNull() {
            addCriterion("change_course_title is null");
            return (Criteria) this;
        }

        public Criteria andChangeCourseTitleIsNotNull() {
            addCriterion("change_course_title is not null");
            return (Criteria) this;
        }

        public Criteria andChangeCourseTitleEqualTo(String value) {
            addCriterion("change_course_title =", value, "changeCourseTitle");
            return (Criteria) this;
        }

        public Criteria andChangeCourseTitleNotEqualTo(String value) {
            addCriterion("change_course_title <>", value, "changeCourseTitle");
            return (Criteria) this;
        }

        public Criteria andChangeCourseTitleGreaterThan(String value) {
            addCriterion("change_course_title >", value, "changeCourseTitle");
            return (Criteria) this;
        }

        public Criteria andChangeCourseTitleGreaterThanOrEqualTo(String value) {
            addCriterion("change_course_title >=", value, "changeCourseTitle");
            return (Criteria) this;
        }

        public Criteria andChangeCourseTitleLessThan(String value) {
            addCriterion("change_course_title <", value, "changeCourseTitle");
            return (Criteria) this;
        }

        public Criteria andChangeCourseTitleLessThanOrEqualTo(String value) {
            addCriterion("change_course_title <=", value, "changeCourseTitle");
            return (Criteria) this;
        }

        public Criteria andChangeCourseTitleLike(String value) {
            addCriterion("change_course_title like", value, "changeCourseTitle");
            return (Criteria) this;
        }

        public Criteria andChangeCourseTitleNotLike(String value) {
            addCriterion("change_course_title not like", value, "changeCourseTitle");
            return (Criteria) this;
        }

        public Criteria andChangeCourseTitleIn(List<String> values) {
            addCriterion("change_course_title in", values, "changeCourseTitle");
            return (Criteria) this;
        }

        public Criteria andChangeCourseTitleNotIn(List<String> values) {
            addCriterion("change_course_title not in", values, "changeCourseTitle");
            return (Criteria) this;
        }

        public Criteria andChangeCourseTitleBetween(String value1, String value2) {
            addCriterion("change_course_title between", value1, value2, "changeCourseTitle");
            return (Criteria) this;
        }

        public Criteria andChangeCourseTitleNotBetween(String value1, String value2) {
            addCriterion("change_course_title not between", value1, value2, "changeCourseTitle");
            return (Criteria) this;
        }

        public Criteria andCourseProductCodeIsNull() {
            addCriterion("course_product_code is null");
            return (Criteria) this;
        }

        public Criteria andCourseProductCodeIsNotNull() {
            addCriterion("course_product_code is not null");
            return (Criteria) this;
        }

        public Criteria andCourseProductCodeEqualTo(String value) {
            addCriterion("course_product_code =", value, "courseProductCode");
            return (Criteria) this;
        }

        public Criteria andCourseProductCodeNotEqualTo(String value) {
            addCriterion("course_product_code <>", value, "courseProductCode");
            return (Criteria) this;
        }

        public Criteria andCourseProductCodeGreaterThan(String value) {
            addCriterion("course_product_code >", value, "courseProductCode");
            return (Criteria) this;
        }

        public Criteria andCourseProductCodeGreaterThanOrEqualTo(String value) {
            addCriterion("course_product_code >=", value, "courseProductCode");
            return (Criteria) this;
        }

        public Criteria andCourseProductCodeLessThan(String value) {
            addCriterion("course_product_code <", value, "courseProductCode");
            return (Criteria) this;
        }

        public Criteria andCourseProductCodeLessThanOrEqualTo(String value) {
            addCriterion("course_product_code <=", value, "courseProductCode");
            return (Criteria) this;
        }

        public Criteria andCourseProductCodeLike(String value) {
            addCriterion("course_product_code like", value, "courseProductCode");
            return (Criteria) this;
        }

        public Criteria andCourseProductCodeNotLike(String value) {
            addCriterion("course_product_code not like", value, "courseProductCode");
            return (Criteria) this;
        }

        public Criteria andCourseProductCodeIn(List<String> values) {
            addCriterion("course_product_code in", values, "courseProductCode");
            return (Criteria) this;
        }

        public Criteria andCourseProductCodeNotIn(List<String> values) {
            addCriterion("course_product_code not in", values, "courseProductCode");
            return (Criteria) this;
        }

        public Criteria andCourseProductCodeBetween(String value1, String value2) {
            addCriterion("course_product_code between", value1, value2, "courseProductCode");
            return (Criteria) this;
        }

        public Criteria andCourseProductCodeNotBetween(String value1, String value2) {
            addCriterion("course_product_code not between", value1, value2, "courseProductCode");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumIsNull() {
            addCriterion("finish_order_product_num is null");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumIsNotNull() {
            addCriterion("finish_order_product_num is not null");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumEqualTo(String value) {
            addCriterion("finish_order_product_num =", value, "finishOrderProductNum");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumNotEqualTo(String value) {
            addCriterion("finish_order_product_num <>", value, "finishOrderProductNum");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumGreaterThan(String value) {
            addCriterion("finish_order_product_num >", value, "finishOrderProductNum");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumGreaterThanOrEqualTo(String value) {
            addCriterion("finish_order_product_num >=", value, "finishOrderProductNum");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumLessThan(String value) {
            addCriterion("finish_order_product_num <", value, "finishOrderProductNum");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumLessThanOrEqualTo(String value) {
            addCriterion("finish_order_product_num <=", value, "finishOrderProductNum");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumLike(String value) {
            addCriterion("finish_order_product_num like", value, "finishOrderProductNum");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumNotLike(String value) {
            addCriterion("finish_order_product_num not like", value, "finishOrderProductNum");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumIn(List<String> values) {
            addCriterion("finish_order_product_num in", values, "finishOrderProductNum");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumNotIn(List<String> values) {
            addCriterion("finish_order_product_num not in", values, "finishOrderProductNum");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumBetween(String value1, String value2) {
            addCriterion("finish_order_product_num between", value1, value2, "finishOrderProductNum");
            return (Criteria) this;
        }

        public Criteria andFinishOrderProductNumNotBetween(String value1, String value2) {
            addCriterion("finish_order_product_num not between", value1, value2, "finishOrderProductNum");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(Integer value) {
            addCriterion("type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(Integer value) {
            addCriterion("type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(Integer value) {
            addCriterion("type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(Integer value) {
            addCriterion("type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(Integer value) {
            addCriterion("type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<Integer> values) {
            addCriterion("type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<Integer> values) {
            addCriterion("type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(Integer value1, Integer value2) {
            addCriterion("type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andCourseOriginalPriceIsNull() {
            addCriterion("course_original_price is null");
            return (Criteria) this;
        }

        public Criteria andCourseOriginalPriceIsNotNull() {
            addCriterion("course_original_price is not null");
            return (Criteria) this;
        }

        public Criteria andCourseOriginalPriceEqualTo(String value) {
            addCriterion("course_original_price =", value, "courseOriginalPrice");
            return (Criteria) this;
        }

        public Criteria andCourseOriginalPriceNotEqualTo(String value) {
            addCriterion("course_original_price <>", value, "courseOriginalPrice");
            return (Criteria) this;
        }

        public Criteria andCourseOriginalPriceGreaterThan(String value) {
            addCriterion("course_original_price >", value, "courseOriginalPrice");
            return (Criteria) this;
        }

        public Criteria andCourseOriginalPriceGreaterThanOrEqualTo(String value) {
            addCriterion("course_original_price >=", value, "courseOriginalPrice");
            return (Criteria) this;
        }

        public Criteria andCourseOriginalPriceLessThan(String value) {
            addCriterion("course_original_price <", value, "courseOriginalPrice");
            return (Criteria) this;
        }

        public Criteria andCourseOriginalPriceLessThanOrEqualTo(String value) {
            addCriterion("course_original_price <=", value, "courseOriginalPrice");
            return (Criteria) this;
        }

        public Criteria andCourseOriginalPriceLike(String value) {
            addCriterion("course_original_price like", value, "courseOriginalPrice");
            return (Criteria) this;
        }

        public Criteria andCourseOriginalPriceNotLike(String value) {
            addCriterion("course_original_price not like", value, "courseOriginalPrice");
            return (Criteria) this;
        }

        public Criteria andCourseOriginalPriceIn(List<String> values) {
            addCriterion("course_original_price in", values, "courseOriginalPrice");
            return (Criteria) this;
        }

        public Criteria andCourseOriginalPriceNotIn(List<String> values) {
            addCriterion("course_original_price not in", values, "courseOriginalPrice");
            return (Criteria) this;
        }

        public Criteria andCourseOriginalPriceBetween(String value1, String value2) {
            addCriterion("course_original_price between", value1, value2, "courseOriginalPrice");
            return (Criteria) this;
        }

        public Criteria andCourseOriginalPriceNotBetween(String value1, String value2) {
            addCriterion("course_original_price not between", value1, value2, "courseOriginalPrice");
            return (Criteria) this;
        }

        public Criteria andProductTypeIsNull() {
            addCriterion("product_type is null");
            return (Criteria) this;
        }

        public Criteria andProductTypeIsNotNull() {
            addCriterion("product_type is not null");
            return (Criteria) this;
        }

        public Criteria andProductTypeEqualTo(String value) {
            addCriterion("product_type =", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeNotEqualTo(String value) {
            addCriterion("product_type <>", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeGreaterThan(String value) {
            addCriterion("product_type >", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeGreaterThanOrEqualTo(String value) {
            addCriterion("product_type >=", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeLessThan(String value) {
            addCriterion("product_type <", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeLessThanOrEqualTo(String value) {
            addCriterion("product_type <=", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeLike(String value) {
            addCriterion("product_type like", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeNotLike(String value) {
            addCriterion("product_type not like", value, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeIn(List<String> values) {
            addCriterion("product_type in", values, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeNotIn(List<String> values) {
            addCriterion("product_type not in", values, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeBetween(String value1, String value2) {
            addCriterion("product_type between", value1, value2, "productType");
            return (Criteria) this;
        }

        public Criteria andProductTypeNotBetween(String value1, String value2) {
            addCriterion("product_type not between", value1, value2, "productType");
            return (Criteria) this;
        }

        public Criteria andRuleTitleIsNull() {
            addCriterion("rule_title is null");
            return (Criteria) this;
        }

        public Criteria andRuleTitleIsNotNull() {
            addCriterion("rule_title is not null");
            return (Criteria) this;
        }

        public Criteria andRuleTitleEqualTo(String value) {
            addCriterion("rule_title =", value, "ruleTitle");
            return (Criteria) this;
        }

        public Criteria andRuleTitleNotEqualTo(String value) {
            addCriterion("rule_title <>", value, "ruleTitle");
            return (Criteria) this;
        }

        public Criteria andRuleTitleGreaterThan(String value) {
            addCriterion("rule_title >", value, "ruleTitle");
            return (Criteria) this;
        }

        public Criteria andRuleTitleGreaterThanOrEqualTo(String value) {
            addCriterion("rule_title >=", value, "ruleTitle");
            return (Criteria) this;
        }

        public Criteria andRuleTitleLessThan(String value) {
            addCriterion("rule_title <", value, "ruleTitle");
            return (Criteria) this;
        }

        public Criteria andRuleTitleLessThanOrEqualTo(String value) {
            addCriterion("rule_title <=", value, "ruleTitle");
            return (Criteria) this;
        }

        public Criteria andRuleTitleLike(String value) {
            addCriterion("rule_title like", value, "ruleTitle");
            return (Criteria) this;
        }

        public Criteria andRuleTitleNotLike(String value) {
            addCriterion("rule_title not like", value, "ruleTitle");
            return (Criteria) this;
        }

        public Criteria andRuleTitleIn(List<String> values) {
            addCriterion("rule_title in", values, "ruleTitle");
            return (Criteria) this;
        }

        public Criteria andRuleTitleNotIn(List<String> values) {
            addCriterion("rule_title not in", values, "ruleTitle");
            return (Criteria) this;
        }

        public Criteria andRuleTitleBetween(String value1, String value2) {
            addCriterion("rule_title between", value1, value2, "ruleTitle");
            return (Criteria) this;
        }

        public Criteria andRuleTitleNotBetween(String value1, String value2) {
            addCriterion("rule_title not between", value1, value2, "ruleTitle");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}